Platform Explorer / Nuxeo Platform 2021.49

Component com.nuxeo.ecm.arender.content.redaction

Requirements

Resolution Order

287
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="com.nuxeo.ecm.arender.content.redaction" version="1.0">

  <extension point="permissions" target="org.nuxeo.ecm.core.security.SecurityService">
    <permission name="Redact" />
  </extension>

  <extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="operations">
    <operation class="com.nuxeo.ecm.arender.core.ARenderRedactCompletion" />
  </extension>

  <extension target="org.nuxeo.ecm.core.event.EventServiceComponent" point="listener">
    <listener name="annotationRedactListener" class="com.nuxeo.ecm.arender.core.ARenderRedactListener" priority="0">
      <event>commentAdded</event>
      <event>commentRemoved</event>
    </listener>
  </extension>

  <!-- in order to declare audit events in eventTypes directory -->
  <require>org.nuxeo.audit.directoryContrib</require>
  <extension target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService" point="event">
    <event name="redactionAdded" />
    <event name="redactionRemoved" />
  </extension>

</component>